Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Jun 8, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/1106

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

도시에 홍보를 하면 고객을 불러들일 수 있음. 도시마다 홍보에 드는 비용과 그때 얻을 수 있는 고객 수가 정해질때, 최소 C이상의 고객을 얻을 수 있는 최소 비용을 출력하자.

🔍 풀이 방법

unbounded knapsack 문제

⏳ 회고

C명 이상이므로 dp 배열을 좀 더 넉넉하게 잡아야한다는 점. 한 도시를 여러번 반복해서 접근 가능하니 정순으로 탐색해야한다는 점.

@lkhyun lkhyun self-assigned this Jun 8, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Jun 8, 2025
@ShinHeeEul ShinHeeEul merged commit 0037d8a into main Jun 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants